fix isBoard definition places