clean board, add input check on board