Fix infinite looping bug