get rid of perl locale settings failed