Fixed bug #6608

Hi, I'm a new contributor.

Fixed bug #6608 with a simple changing.