fixed fhoto gallery