ensured data attributes of selects is set at the beginning