make errors type correct