Revert "bug fix"

This reverts commit fc691bdd7cfd40dd7652fabda323b227a464449a.