fixing reg