Got it done. Problem solved already... I forgot to put the brackets around *namehash[t] ......