Revert "bug fix"

This reverts commit bf0e535c7b59de75218996b3bedc31735bd915d0.