minor fixes to BJ