fixed creatTask with $parent