Fixed bug in Board class