base layout fix