fixes values passed in as hases