fixed copyright and trailing whitespaces