fixes #19

- quite a dirty fix