gallery pic correction