correct negative number of 'printf'