reverse check added. fixed issue with multiplanetary systems