set show into index and mainapp