Revert "fix #2549"

This reverts commit aba914e6501b597f5c050e2d0387cfe76ff4015c.