board clear bug fix