cleanup H| correctly