remove upstream hsm