some tweaks for C editing