Fix some small errors