deal with empty attr list