That would return that message if $1 wasn't returning a nick that could be addressed. There may be other reasons, but I can't think of anything else, and without knowing the circumstances when that does come back like that, there's nothing else I can do.