add 3.14 compatibility, fixes #5