fix resttemplate problem