Revert "bug fix"

This reverts commit 933721399f3ca33f5214076e1b86c6ab6d3088fe.