fixes crazy formatting problems