[DEBUG] correction of the output bb code