create elem goes away when switch views