extra check for type coercion for issue #19, in case pin sneaks through without being coerced into a string?