The passed var should always be a string.

Signed-off-by: Suki <suki@missallsunday.com>