fix percent register bug

fix bug my percent regsiter implementation broke dot functionality.