Bug fix of survey creation