fixing bug with style