Remove some small errors