Fixes #28

Thanks dimon222!