edited search bug
improved search