fix issue with initfn: execute f if init already ran