attempt to fix filepath problem for photo