Revert "bug fix"

This reverts commit e0a795d1f11c27f246fba53db107e6ceae4d86ba.