fix for small errors