Fix percent bug