changed renderMode to none, full or header