add packet buffer, python absolute bug revised