fix: double 'function'