changed cancel to remove