fixed bad closing location for div wrap