a little changes in src/CMS/BackendBundle/Controller/CustomController.php