fixes #16 and bump to 0.0.12