bug in pkg