fix verify 500

Untested.