cleaning up keys