catch empty packages