reset packet flag after receiving context packet