fix "Select" fragment parsing