fix deprecated param