nested survey object in edit/add survey

You don't need to define a variable which just used once