Fixes completed task method