fixing photouplaod changes