doc type changed on application layout and index view