fix for  modx evo 1.1