prevent non-hash error