Bug fix for global ct