fixing a layout bug