fixed locale issue