Fixed a regression (issue #111)