added check to reservation saving