repairing div structure