clean up a constructor