fixes #15, i think