fix modx url in template