trying to fix photo extension