fix BButton error