fix clicking photo