Fixed some impurities in frame.registration