[lib] fix confs opts