fix with deprecated symfony YAML