gallery post fix