fix bug with div elements in tab content