Typo3 45 issues

Fixed small issues for TYPO3 4.5