fix some errors in search and edit content