Maybe this will fix the looping issues?