fix code style in package model

related to #130