avoid js error if for some reason we get no results