remove prepare function on create view/