fixed odd case where asString could return an integer and confusse things