[core] gc engine: handle different casing