compatibility with nette 2.3