#24 fix infinite loop
#25 update dependencies