Fixed type mismatch.