fix error on lastupdate get
Merge pull request #178 from avelino/master

fix error on lastupdate get