better address selector check