fixing unack packets issue v2