compiling but crash on create view