fixed a stupid typo. I really shoud create some tests