fix result limiting in server