fix pin attr selection