fixing for new Nette (mainly macros+filters)