avoid fatal error on index.php/component/tags

When you access index.php/component/tags you get a series of warnings and a fatal error.
This patch avoids that and load the right parameters.