fixes small errors