modify grayBox styles and edit message styles