fix a crash bug when check new task