fix code style in package model

related to #130
note for reviewer: this variable is ovewrided some lines after with the same value