Try replacing the derailleur hanger first, since from your description on your other thread, it sounds like maybe you bent it. Derailleur hangers are cheaper than derailleurs. If your derailleur is damaged, best to replace it with something similar, especially since 10 Speed and 11 Speed derailleurs are not compatible with 7, 8 or 9 speed shifters.