deleting 1 too many </div>s