fix for   modx.evo.custom  v2