patch to fix drug buying amount selection