fixing package errors