fixed bug with stopPropagation in search controller