fix survey submition bug and make Surveillance.surveys_root_path config be used everywhere it is needed