Fixed compatibility with stable nette