correct a type miss