bug fix for landscape