fix locale filter