fixed the create view