Removed redundant code, fixed unsearchable issue.