check for nilness in dictionaryFromQueryStringComponents instead of stringByDecodingURLFormat