AGP-497: make the changes compatible to typo3 4.5