made minor changes to editor