Fix register margin