lib: fix missing method