fixes ngLocale error