parse selection info