Bug fixings

Fix some spelling problems