Try at fix infinite loop