changed cancel to clear