minor adjustment on Package constructor