fixed extra connection bug in post details