fixed debug activation