code editor fixes

small fixes