stupid quantity bug