- add warning when package class and package file name are not defined
- fix payload data