fixed redirect after submitting settings