Fixed #2668.