add NSDictionary optional binding as additional check