Fixed not working bug on modx evo 1.0.10