some deprecated thinks with nette 2.1