fix bugs in process logging