Fixed undefined in controller instanceId.