fixes #11 and release 0.0.7