Fixed no photos error