fail on bad hash