Fixed incompatibility bug by setting default parameter value