Fixed bug in commentPanel