fixed bug with survey view