fixes purchase model