same fix for landscape mode but in the template code.