fixed bugs in dao_post; some sql query has been optimized