remove trailing whitespace and pry - thanks houndci