fixed remove task and project functionality