fixed a ton of stuff. i think. not sure. using buffer now