fixed bug bringing default photo to home page