fixed controllers with new getLocale function