fix PHPCR mediamanager