fix interface to survey