fixes minor typos in documentation

I'm not sure if it really matters, but it seems that the default is actually NULL