fix #5: fix a problem with function object, update readme.md