fixed minor bug on range check for MR insert + added few check on MR registration