Fixes typos and errors