fixed bug in board preview