Revert "fix #2092"

This reverts commit e562b6f737323bb6379c5374b0dceaec4d6e7f89.