Fixed a localize() call failed