Revert "bug fix"

This reverts commit 3bb8ee5a24a15baa057047f3ea2f957a74a796d5.