Unscheduled visits add, some bugfix