add compatibility for Joomla 3