Search Works except crashes on spaces