package model error fix