fix some styles and markup