fixed issue with when the lastAccessed date gets set