[REFACTOR] replace case var with _internal const