remove unused view creation