fixed bad logic in task#show