fix typo: cosnt -> const