avoid recompilation if null environment