fix photo uploading ui