Fixed a typo/bug introduced by myself