make sure RestClient is loaded correctly