edit: fix on process and thread