why am I encountering this error System.NullReferenceException: \'Object variable or With block variable not set? was there anything wrong with what I had d