fix source files index page error when there is no source file