Fix setting fo BS_CHECKOUT