connection is on api fix