clear the base layout