fix: added possible linearization of ext functions, fix in Hermes