change find specific_opening to fix bug