Fixes small errors