trying to fix locale valueerror