fix how to get attribute, use "send" method