Fixed #28.

This commit fixes issue #28.