prevent adding phtoo if doesn't exist