improve view management