fix bugs with take survey and dashboard