fix board rewrite logix