remove extraneous hash