Fixed landscape layout and heap problem