fix a missing semicolon bug only triggered when running prune_applications not in...