remove document select if there are none