fix upload image gallery