Fix register model