BUG:register_pairs does not need the full path and the arguments was wrongly specified