Fixed a small typo that made a major bug