random bugfixes and moving around the output enable line