check indices rather than array existance

CID:27755
removed void DEBUG

the same data is already printed in the line above in a more safe manner

CID:28733
do we need to lock in order to access x_serialize?

i hope not

CID:28734
trying to annotate param_set_but_not_used