fix no task bug