corrected bugs for extremely unlikely input such as __B, or _BB,, etc..