fixing silly mistake around hash initialisation (moving away from calloc crutch)