fix problem with packages