Fix view name conflict bug