fixed issues with adding function to a partially full hastable