attempted to stop elements being selected