removing garbage data