active Vs visited fix