Bugfixes RESTAdapter