fixed create view.