Catch hash errors