fixed bug

not searching yet. sorry for commiting on your branch, I'm merging to
mine and will continue there.