Revert "fixed minor bug"

This reverts commit 415c20386946ba711616d23aa2a44d3ff79b8d86.