Fixed warning on no data