clean up profile and tasks