add warning when no sample is found