fixed Visited issue