moved post_detail and reference