Fixed small problems (3 clause BSD, typo)