fixed #1860 fixing broken test cause because of the change