Temporary fix

* Temporary fix for 'Warning: feof(): 32 is not a valid stream resource
on line 491'
Stability fix [TO TEST]