Fixed type mismatch