fix keyword arguments mismatch in traces and traces/ps

closes PR 14640