Minor typo caused bug