finish all post function