fix bug with ispkg