remove inserted trailing whitespace here