fix upload block take photos
almost complete