X-ray data vs. galaxy velocity dispersions in galaxy clusters