resources_threads: quick fix on opcode