fixed the board placement bug