fixing error save purchase