release configuration validation. refactoring