subprocess issue fixed