add valid check on registers in summary