Cleaned code and fixed multiple packets of same person bug