Fix #22 infinite loop