feat: compiler minor refactor