Added message when a loop found