Fixed issues with stray div tags