bugfix component id getting undefined