broken comparison in getName