bug fixed debug public var not required param