debugging package errors