fix for modx