optimize net callback interface