fix typo bug introduced in 3a41f6e6

retained backwards compatibility