removed trailing whitespaces, added script to do that automatically from now on