simplified calls
ensured type consistency
masked faulty joomla implementation

Change-Id: If26f9a829830ec5231ac67ead97f85c2048b2c22