fix Issue #1008

OK, here it is. I was sure that github ignore all irrelevant commits.
Then again, sorry for the trouble.