fixes #1 unfortunate little bug