minor nil hash key bug