fix reg_cont