casting empty NSDictionary to NSMutableDictionary fixed by creating new NSMutableDictionary
removing unexecuted code