clean up depreacated hash refrence