fix endless loop on error
0.0.4