compatibility with new nette master