fix config of restbundle