better handling of cases where no element(s) are found in current DOM