Fixed packet reading problem!