fix package errors