* fixed submitting the package state to the client