fixed a bug concerning importing localized file