deleted apache license and removed unnecessary  if condition at DictionaryHandler