fix for non env tests (this is really silly to test, but okay)