Fix closing div unexpected