Fix move task bug