obviously className sometimes is an object, add toString()