machine eror fixed by changing variable names in module b that were being duplicated or deallocated from module a