fixed a lot of little formatting problems