Fixed issue #39.