fix problem when data viewer config is null
edit gitignore