fix: only global variable name classes are not overridden on compile