remove useless print;
correct a bug that prevent task_state of VMs to be setted as None;