Revert "bug fix"

This reverts commit 202eb9d61745187e9bac767c0a8d851fe9aba3f5.