break recursive selection loop