fixed activeBoard method