Bug fixed with endless loop
Merge pull request #521 from naturwerk/emin

Bug fixed with endless loop