fix: handle added function at runtime with dynamic worker