get rid of the bug the deleted photos appeared in the search page