Merge pull request #176 from xiechao06/#174

#174, make the property cached
remove useless code
#174, make the property cached