added orgid from post id function