remove unused Str argument in lib/object.js
remove some useless code in lib/lib.js