photo upload path fix