fix a potential BOF