fixed log bugs

also removed extraneous "shit that didn't work"