Adjust single quote in visit