more tweaks for debugging the env