cleanup and back functionality in successful reg.