Fix deprectated style