trying to fix hubspot code