Fixed silly bug breaking all cases using the dictionary