[lib] fixes cut and paste error from last commit