Fix custom variable visit data