fixed pixel issue. a lot of reformatting