added fixings for viewType config in first layout