fixed locale problem