delete gethandles