fixed ranking and styling