removing trailing whitespace as recommended by houndci