fixed some issued in task definition