Fixed bug in package