fix error with show reg