improved check for 0b prefix