printf backslash n, sprintf was not working