Revert "Added a bug"

This reverts commit 3d1ad42b9c8774153b77826120062e3348c08185.