fix bug in getfn