corrected REST config in main config