fix the layout things