remoce unecessary python mode setting