correcting
https://github.com/joomla/joomla-cms/commit/092c440ca08888bb89d1ca146ecd459f222c9521#diff-4f99848c581e6fad01897398d2332a63