solved multiprocess problem