made Contao 3.x compatible