Fixed bug in saving multiple annotations