fixed issue with purchase