fixing save issue for annotations