add visits but has datetime error