clean up keys