Shouldn't it be sender.getName()?