Fix looping bug