fix bug with results model