fixed setting locale in session