fixed saving all registers