modified contentArr judge