improved error checking on view, hash, index