Fixing search and photo uploads