added verifications for environment info

Issue #568