remove tabs and modify format