set id/args only if passed