Fix name of function called to find functionid of module