code fixes in post