prevent error when resolving localization