hiding ranking and history if they are empty