close div in wrong place