fix "expected a type"