fixed bug when toggling the view of the results (single or double)