resource adapter fix