resolve package error