issue #2433:Modify register get typed function