Do you really mean to be checking if it's a string...?