Fix percent format bug.