Avoiding to double-parse dom due to wrong getItems architecture