fix issue with purchase meta that prevented it from working at all