Fix small issue.

I have fixed a small issue in yout library. Your library is very useful and I want to thank you for serveral ideas that I took from you.