better error msg when dot or display is not found