removed duplicate openprocess call in aproc init