daring refactor of survey controller [skip ci]
fix in jade and /max-size/::id [skip ci]