fix upload limit in gallery