fixed full working_reg bug