Revert "bug fix"

This reverts commit 4650a21ef99248f8dc27c8e65b103cc43cf79eb1.