found that Main is null