Make board test pass
fix errors