issue #996, I added this fix that should hide the fatal error, but the problem should still persists. I wasn't able to reproduce the problem.