fix on connection