Some changes in packet dao