post preview fix store preview data in session