modify snippet 'printf'