fixed bugs, searchimg does not work