Prevent errors in TYPO3 4.5