cleanup the helper class