fix formatting for mobile devices