I had to withdraw this fix as there arised some problems after my commit. Fix will be included in 1.0.1