fixed deprecated param syntax