compatibility with dev nette