fixed bug with joomla caching and pathway workaround