fix midnight classes