Fix some process bug