fixed dumb memory bug (storing all the rghat objects)