fixes '1 packages' bug