updated BSK code: correct bug for dropping