fix potential NullReference exn for includes