Remove redundant deactivate_hsenv
Fix escape