Fixed bug introduced in version 1.0.0

Fixed bug introduced in version 1.0.0