fixing formatting problems