handle blank date in rebuild course