fixed compilation error in ordinalGrid