modify reg on {}