fixed bug where photo didnt show up in edit