Remove a bugs in storing PhotoLinks