minor fix for photo storage