fix locale redirect