cleanup of connection params