Fixed an error in displaying