fixed noise margin, changed background values