fix upload gallery photo issue
bind device data