fix context issues of various rest adapter methods