fix: mishandled buffer boundary checks
fix typos
simplified hashtable append detection