Fix -type mismatch