Fixed nil viewId