fixed bug where razor did not reset the faulty register value