fix: character is undefined