compatibility with latest nette version #9