Handle non-string input