Fixed bugs, so the module works on Contao 3.2