fix error formatting due interpreting % as printf formatted strings
