added if hit enter on search