fix bug with view removal
0.21.2