fixed bug with older CMS 1.X versions