fixing the layout of board