fix percent register bug
Merge pull request #329 from pebble8888/fix_percent_register

fix percent register bug