fix buy action