div closing bug