photo upload fix and photo tag fix