Fixed issue #251.