fixed bug with new_process