reg mapper fix

Signed-off-by: Predrag Kanazir <predrag@arraystudio.com>