fix trailing space abomination