fixed stupidity of not assigning to last_bytes