fixing minor locale and redirect issues