Revert "bug found"

This reverts commit b90fd22f7296aacede20d0356f9f8042e0879a6b.
bug fixed