fixing unacknowledged packets issue