fixes #157 - silly handling of validation failure state.