Revert "fix bug"

This reverts commit bd3640b5ea8260aba7312d0af0ac8054f7930e60.
test cases