fix bug on linking post