stopped listeners from multiplying when user submits search box