Add fix for contao 3