fixed issue with proc_open