fixed mistake handleclick
deleting garbage