fixes issue #6

Refer to: https://github.com/littlebigbot/reductress/issues/6