don't call kernel.ide stuff from headless code