Fixes bug, fixes #56.