func_xxx register icon method threw an error and didnt work