prevent the "select all" from being created twice