add error in subprocess