Fixed issue that can't use the class const parameter as default value