Fixed issues that happened after changes in the position in packets.