fix hash iteration.. short vread and bad 'empty' check