Small bugfix and decanter version bump to 0.1.6.5

Also some pep8 fixes