bugfix for restoring previous purchases