cleaned up logic for showing validation status