improved auto view creation