Fix bug with settings route