Fixed #2888.