bug:viewname is null when create fail model