cleanup reg