Fixing last line style in ranking