fixed for the case in which there's no result