fixing copy paste registers