fixed an issue with previous in baseobject