Removing source in registration