Fix issue 14

resolves issue #14