replace select multiple value handling with tag hash