cleanup in the bb