fix formatting problems