fix admin new gallery bug