* format
* fixed invalid state of delivered packages