Fixed issue #1

Thanks to a friend for pointing out my error! :)