fixed edit of visit (date)