fix pandas variable