fixed infinite loop