fixing view search