fixes intermediate div