consistent formatting for idx