simplify bss handling