Search blank

Just a bit of fixes and not-done-yet search
Don't get it, what is wrong with parcing by switch?