Bug in saving potential data fixed