fixed creating visit and deleted annotations