ok 2 things ........ where is your hash table creation code ... because what uve posted there will give anyone who tries it a surprise ...
1st error will be no such hashtable exists
get that created with something and then we can see if what your actually giving is help or BS