remove python mode