remove default argument deprecation warnings