changes for compatiiblity with CTL < v1.5