Patients with pathological fractures ( bone tumors or metabolic bone disease ) , preoperative avascular necrosis of the femoral head , osteoarthritis , rheumatoid arthritis , hemiplegia , long-term bed rest and complications affecting hip functions were excluded .