add basic integrity checks for config variables