fix resgister layout bug
merge lsn