Fix: only use callback as function