tweak stuff when writing post