Fixed issue #52.