fix important typo
prevent exception