fix to static config and prototype matching for dynamic command functions