fix some issues when testing without config