c# dictionary trygetvalue null exception