optimize post detail