fixed console error when results are still to be loaded