loop fix
input examples