Fix error message.

It was referencing out of scope variables. This should fix #28.