add LinkError Check
fix multi partition support