fixed integration endpoint issues