Fixed dock task's not working