some more environment checks