Fix register arguments.