Does some corrections in the active record