Fixing _get_hash to return only take one argument, and save data only in strict mode