fix process packet