Fix register increment. Now working.