fixed the buffer problem, address pointers are now chars