Fix for passing parameters to components