fix typo causing an (invisible?) exception