fix double visit