Correcting hash variable names