bug on buy button fixed