Fix: bad function warning