remove unneeded instance var bytes_remaining