fixed bug in clear board