Percent symbol was fine, char needed casting