replaced % by %%, because they can get removed by sprintf.