api calls working fine with new config