updated for nette/latte@dc45311bd70f4c489