fix formatting divs in views