fix format problems