fix inner ring parsing